package com.sdry.approval.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.sql.Timestamp;

/**
 * @program: info_sdry
 * @description: 待我审批
 * @author: cb
 * @create: 2020-02-24 17:37
 **/
@Data
public class ForMySponsor {

    /**主键**/
    @TableId(type = IdType.AUTO)
    private Long forMyId;
    /**类型**/
    private String requestType;
    /**开始时间**/
    private Timestamp createDate;
    /**完成时间**/
    private Timestamp completeDate;
    /**
     *
     *
     * 完成状态
     * 1. 提交审批
     * 2. 审批中
     * 3. 已通过
     * 4. 驳回
     * **/
    private String completeStatus;
    /**用户ID**/
    private Long userId;

    private Long requestId;

    /**用户名**/
    @TableField(exist = false)
    private String realName;

    /*** 页码 */
    @TableField(exist = false)
    private Long page;

    /*** 每页大小*/
    @TableField(exist = false)
    private Long limit;
}
